﻿using System.Data;
using DAL;

namespace BLL
{
    public class BllReportReceipt
    {
        #region[Get-Data]
        public DataTable GetReportReceipt(string keywords)
        {
            return DalReportReceipt.GetReportReceipt(keywords);
        }
        public DataTable GetReportReceiptFillter(string DateBegin, string DateEnd)
        {
            return DalReportReceipt.GetReportReceiptFillter(DateBegin, DateEnd);
        }
        public DataTable GetReportReceiptEdit(int id)
        {
            return DalReportReceipt.GetReportReceiptEdit(id);
        }
        public DataTable GetReportReceiptDetailTemp(int Users_Id)
        {
            return DalReportReceipt.GetReportReceiptDetailTemp(Users_Id);
        }
        public DataTable GetReportReceiptDetailTempSum(int Users_Id)
        {
            return DalReportReceipt.GetReportReceiptDetailTempSum(Users_Id);
        }
        public DataTable GetReportReceiptDetail(int id)
        {
            return DalReportReceipt.GetReportReceiptDetail(id);
        }
        public DataTable GetReportReceiptDetailSum(int id)
        {
            return DalReportReceipt.GetReportReceiptDetailSum(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool Insert(EtReportReceipt obj)
        {
            return DalReportReceipt.Insert(obj);
        }
        public static bool InsertDetail(EtReportReceiptDetail obj)
        {
            return DalReportReceipt.InsertDetail(obj);
        }
        public static bool Update(EtReportReceipt obj)
        {
            return DalReportReceipt.Update(obj);
        }
        public static bool Delete(EtReportReceipt obj)
        {
            return DalReportReceipt.Delete(obj);
        }
        public static bool DeleteTemp(EtReportReceiptDetail obj)
        {
            return DalReportReceipt.DeleteTemp(obj);
        }
        public static bool DeleteDetail(EtReportReceiptDetail obj)
        {
            return DalReportReceipt.DeleteDetail(obj);
        }
        public static bool DeleteTempAdd(EtReportReceiptDetail obj)
        {
            return DalReportReceipt.DeleteTempAdd(obj);
        }
        public static bool LockUnlock(EtReportReceipt obj)
        {
            return DalReportReceipt.LockUnlock(obj);
        }
        #endregion
    }
}